<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

<f:view locale="#{internationalisationManagedBean.langue}">
<h:head>
<title> E-book'tique</title>
<h:outputStylesheet  name="stylesheet.css" library="css"/>
</h:head>

<h:body>
	<div id="title"></div>
	
	<div id="global">
		<ui:insert name="top"/>
		<div id="content">
		<div id="left">
			<ui:include src="/admin.xhtml" />
			<ui:include src="/left.xhtml" />
		</div>
		<div id="center">
			<ui:insert name="center"/>
		
		</div>
		<div id="right">
			<ui:include src="/right.xhtml" />
			<br/>
			<p:panel header="#{msg['title.langue']}">
			<h:form>
				<h:commandLink action="#{internationalisationManagedBean.initLangue('fr','FR')}">
				<h:graphicImage value="/resources/img/langue-fr.png"/>
				</h:commandLink>
				<h:commandLink action="#{internationalisationManagedBean.initLangue('en','EN')}">
				<h:graphicImage value="/resources/img/langue-en.png"/>
				</h:commandLink>
			</h:form>
			</p:panel>
			<br/>
			<ui:include src="/panierEnCours.xhtml" />
		</div>
		</div>
	</div>
</h:body>
</f:view>
</html>